<html>
<head>
    <meta charset="utf-8">
</head>
<body>

<h2>Customer complain</h2>
 <form method="post" action="">
 
<div style="border: 1px black solid; padding:5px; width: 300px; {if $ErrRecipent != ""}border-color: red; {/if}">
Recipient: <br>
<input type="radio" name="SendTo" {if $SendTo=="HANDLOWY"} checked {/if} value="HANDLOWY">Dział Handlowy <br>
<input type="radio" name="SendTo" {if $SendTo=="TECHNICZNY"} checked {/if} value="TECHNICZNY">Dział Techniczny <br>
<input type="radio" name="SendTo" {if $SendTo=="MARKETING"} checked {/if} value="MARKETING">Dział Marketingu <br>
<input type="radio" name="SendTo" {if $SendTo=="SZKOLENIE"}  checked {/if} value="SZKOLENIE">Szkolenie BSC Polska <br>
<input type="radio" name="SendTo" {if $SendTo=="SEKRETARIAT"} checked {/if} value="SEKRETARIAT">Sekretariat  <br>
<input type="radio" name="SendTo" {if $SendTo=="kuba"} checked {/if} value="kuba">Test<br>
</div>

<font color="red" size="2"><p>{$ErrRecipent}</p></font>

E-mail: <input type="text" name="Email" value="{$Email}" {if $ErrEmail != ""} style="border-color: red; "{/if}>
<br>
<font color="red" size="2"><p>{$ErrEmail}</p></font>


Subject: <input type="text" name="Subject" value="{$Subject}" {if $ErrSubject} != ""} style="border-color: red; "{/if}>
<br>
<font color="red" size="2"><p>{$ErrSubject}</p></font>


<label>Content: <textarea name="Content" rows="5" cols="40" {if $ErrContent != ""} style="border-color: red;" {/if} >{$Content}</textarea>
<br>
<font color="red" size="2"><p>{$ErrContent}</p></font>


<input type="submit" name="submit" value="Submit">

</form>

</body>
</html>